package com.hunttown.mes.rpc.api;

import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.IotAlarmTriggerConditionDTO;
import com.hunttown.mes.rpc.domain.query.IotAlarmTriggerConditionDTOQuery;

/**
 * created by wangjunfu on 2021-03-04 19:17:12
 */
public interface IotAlarmTriggerConditionRpcService {

    IotAlarmTriggerConditionDTO insert(IotAlarmTriggerConditionDTO iotAlarmTriggerConditionDTO);

    Boolean updateInfoById(IotAlarmTriggerConditionDTO iotAlarmTriggerConditionDTO);

    Boolean updateInfoByQuery(IotAlarmTriggerConditionDTOQuery iotAlarmTriggerConditionDTOQuery);

    IotAlarmTriggerConditionDTO selectById(Integer id);

    IotAlarmTriggerConditionDTO selectObjByQuery(IotAlarmTriggerConditionDTOQuery iotAlarmTriggerConditionDTOQuery);

    Page<IotAlarmTriggerConditionDTO> getListForPage(IotAlarmTriggerConditionDTOQuery iotAlarmTriggerConditionDTOQuery);

    Boolean deleteById(Integer id);
}